package com.ebao.tec.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class XjdExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public XjdExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andJxdIdIsNull() {
            addCriterion("JXD_ID is null");
            return (Criteria) this;
        }

        public Criteria andJxdIdIsNotNull() {
            addCriterion("JXD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andJxdIdEqualTo(Integer value) {
            addCriterion("JXD_ID =", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdNotEqualTo(Integer value) {
            addCriterion("JXD_ID <>", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdGreaterThan(Integer value) {
            addCriterion("JXD_ID >", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("JXD_ID >=", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdLessThan(Integer value) {
            addCriterion("JXD_ID <", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdLessThanOrEqualTo(Integer value) {
            addCriterion("JXD_ID <=", value, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdIn(List<Integer> values) {
            addCriterion("JXD_ID in", values, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdNotIn(List<Integer> values) {
            addCriterion("JXD_ID not in", values, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdBetween(Integer value1, Integer value2) {
            addCriterion("JXD_ID between", value1, value2, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxdIdNotBetween(Integer value1, Integer value2) {
            addCriterion("JXD_ID not between", value1, value2, "jxdId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdIsNull() {
            addCriterion("JX_COMPANY_ID is null");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdIsNotNull() {
            addCriterion("JX_COMPANY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdEqualTo(Integer value) {
            addCriterion("JX_COMPANY_ID =", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdNotEqualTo(Integer value) {
            addCriterion("JX_COMPANY_ID <>", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdGreaterThan(Integer value) {
            addCriterion("JX_COMPANY_ID >", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("JX_COMPANY_ID >=", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdLessThan(Integer value) {
            addCriterion("JX_COMPANY_ID <", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("JX_COMPANY_ID <=", value, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdIn(List<Integer> values) {
            addCriterion("JX_COMPANY_ID in", values, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdNotIn(List<Integer> values) {
            addCriterion("JX_COMPANY_ID not in", values, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("JX_COMPANY_ID between", value1, value2, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("JX_COMPANY_ID not between", value1, value2, "jxCompanyId");
            return (Criteria) this;
        }

        public Criteria andJxTimeIsNull() {
            addCriterion("JX_TIME is null");
            return (Criteria) this;
        }

        public Criteria andJxTimeIsNotNull() {
            addCriterion("JX_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andJxTimeEqualTo(Date value) {
            addCriterion("JX_TIME =", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeNotEqualTo(Date value) {
            addCriterion("JX_TIME <>", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeGreaterThan(Date value) {
            addCriterion("JX_TIME >", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("JX_TIME >=", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeLessThan(Date value) {
            addCriterion("JX_TIME <", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeLessThanOrEqualTo(Date value) {
            addCriterion("JX_TIME <=", value, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeIn(List<Date> values) {
            addCriterion("JX_TIME in", values, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeNotIn(List<Date> values) {
            addCriterion("JX_TIME not in", values, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeBetween(Date value1, Date value2) {
            addCriterion("JX_TIME between", value1, value2, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxTimeNotBetween(Date value1, Date value2) {
            addCriterion("JX_TIME not between", value1, value2, "jxTime");
            return (Criteria) this;
        }

        public Criteria andJxSysIsNull() {
            addCriterion("JX_SYS is null");
            return (Criteria) this;
        }

        public Criteria andJxSysIsNotNull() {
            addCriterion("JX_SYS is not null");
            return (Criteria) this;
        }

        public Criteria andJxSysEqualTo(String value) {
            addCriterion("JX_SYS =", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysNotEqualTo(String value) {
            addCriterion("JX_SYS <>", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysGreaterThan(String value) {
            addCriterion("JX_SYS >", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysGreaterThanOrEqualTo(String value) {
            addCriterion("JX_SYS >=", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysLessThan(String value) {
            addCriterion("JX_SYS <", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysLessThanOrEqualTo(String value) {
            addCriterion("JX_SYS <=", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysLike(String value) {
            addCriterion("JX_SYS like", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysNotLike(String value) {
            addCriterion("JX_SYS not like", value, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysIn(List<String> values) {
            addCriterion("JX_SYS in", values, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysNotIn(List<String> values) {
            addCriterion("JX_SYS not in", values, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysBetween(String value1, String value2) {
            addCriterion("JX_SYS between", value1, value2, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxSysNotBetween(String value1, String value2) {
            addCriterion("JX_SYS not between", value1, value2, "jxSys");
            return (Criteria) this;
        }

        public Criteria andJxContentIsNull() {
            addCriterion("JX_CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andJxContentIsNotNull() {
            addCriterion("JX_CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andJxContentEqualTo(String value) {
            addCriterion("JX_CONTENT =", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentNotEqualTo(String value) {
            addCriterion("JX_CONTENT <>", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentGreaterThan(String value) {
            addCriterion("JX_CONTENT >", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentGreaterThanOrEqualTo(String value) {
            addCriterion("JX_CONTENT >=", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentLessThan(String value) {
            addCriterion("JX_CONTENT <", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentLessThanOrEqualTo(String value) {
            addCriterion("JX_CONTENT <=", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentLike(String value) {
            addCriterion("JX_CONTENT like", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentNotLike(String value) {
            addCriterion("JX_CONTENT not like", value, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentIn(List<String> values) {
            addCriterion("JX_CONTENT in", values, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentNotIn(List<String> values) {
            addCriterion("JX_CONTENT not in", values, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentBetween(String value1, String value2) {
            addCriterion("JX_CONTENT between", value1, value2, "jxContent");
            return (Criteria) this;
        }

        public Criteria andJxContentNotBetween(String value1, String value2) {
            addCriterion("JX_CONTENT not between", value1, value2, "jxContent");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}